package com.example.administrator.daydayappmarket.game.fragment.fragments.classify.fragment.model;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by 郎志奇 on 2016/12/28.
 */

public class GameClassifyGridViewInfo {

    private String theme_type;

    private String image;

    private String type;

    private String title;

    private String id;

    public void parseJson(JSONObject jsonObject) throws JSONException{

        if (jsonObject != null) {

            theme_type=jsonObject.getString("theme_type");
            JSONObject data = jsonObject.getJSONObject("data");
            image = data.getString("image");
            type = data.getString("type");
            title = data.getString("title");
            id = data.getString("id");

        }

    }

    public String getTheme_type() {
        return theme_type;
    }

    public String getImage() {
        return image;
    }

    public String getType() {
        return type;
    }

    public String getTitle() {
        return title;
    }

    public String getId() {
        return id;
    }
}
